{__NOLAYOUT__}<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <title>跳转提示</title>
    {load href="//at.alicdn.com/t/font_1381511_k2i0j5b22w.css,__PUBLIC__/css/cxbsnet.css" /}
    <style>
        .text-fbbig {
            font-size: 800%;
        }
        .text-xxlarge {
            font-size: xx-large;
        }
        @media(max-width: 768px) {
            .text-fbbig {
                font-size: 800%;
            }
        }
    </style>
</head>
<body>
<div class="layout cx-fex-c cx-fex-column cx-fex-itemsc" style="height: 100vh;">
    <?php switch ($code) {?>
    <?php case 1:?>
    <i class="cx-icon cx-iconsmiling text-fbbig cx-text-green-5"></i>
    <?php break;?>
    <?php case 0:?>
    <i class="cx-icon cx-iconbukaixin text-fbbig cx-text-red-5"></i>
    <?php break;?>
    <?php } ?>
    <div class="cx-text-yellow text-xxlarge"><?php echo(strip_tags($msg));?>!</div>
    <div class="cx-text-center cx-mag-t20 cx-text-black-5"> <b id="wait"><?php echo($wait);?></b> 秒后自动 <a id="href" href="<?php echo($url);?>">跳转</a></div>
</div>
<script type="text/javascript">
    (function(){
        var wait = document.getElementById('wait'),
            href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                location.href = href;
                clearInterval(interval);
            };
        }, 1000);
    })();
</script>
</body>
</html>
